package com.wxzz.elearing.livetelecast.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.dto.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PlatformLivetelecastDto extends BasePage {

    @ApiModelProperty(value = "直播名称")
    private String livetelecastName;

    @ApiModelProperty(value = "直播状态 0-未开播 1-直播中 2-已结束")
    private Integer livetelecastStatus;

    @ApiModelProperty(value = "直播一级分类id")
    private Long livetelecastCategoryIdFirst;

    @ApiModelProperty(value = "直播二级分类id")
    private Long livetelecastCategoryIdSecond;

    @ApiModelProperty(value = "讲师id")
    private Long docentId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

}
